<template>
  <div class="nav_title">
    <div class="log"></div>
    <div>猫眼电影</div>
    <div>
      <img
        src="https://p0.meituan.net/scarlett/f05f61e7a8f3f45fd071c068d7a26870356.png"
      />
    </div>
  </div>
</template>

<script >
export default {
  name: "Header1",
};
</script>

<style >
.nav_title {
  width: 100%;
  height: 1.2rem;
  background-color: #e54847;
  color: white;
  display: flex;
}

 .nav_title div:nth-of-type(1) {
  width: 2.133333rem;
}

 .nav_title div:nth-of-type(2) {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  font-size: 0.48rem;
}
 .nav_title div:nth-of-type(3) {
  width: 2.133333rem;
  display: flex;
  align-items: center;
  justify-content: right;
}

 .nav_title div:nth-of-type(3) img {
  width: 0.48rem;
  margin-right: .266667rem;
}
</style>